package com.zgg.files.bean;

import java.io.Serializable;
import java.util.Date;

public class OrderFile implements Serializable {
    private Integer id;

    /**
     * 1:基础  2：业务
     */
    private String type;

    /**
     * 1:图片  2：文件
     */
    private String filetype;

    private Integer userid;

    private Integer orderid;

    private String fname;

    private String fpath;

    private String info;

    private String addtime;

    /**
     * 所在图片服务器ID
     */
    private String serverid;

    /**
     * 0：正常  1：封禁
     */
    private Integer status;

    /**
     * 步骤类型
     */
    private String stepType;

    /**
     * 流程节点id
     */
    private Integer stepId;

    /**
     * 文件id+ncqb，MD5加密，新文件唯一标识
     */
    private String pathcode;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 文件大小
     */
    private Long size;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getFiletype() {
        return filetype;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype == null ? null : filetype.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname == null ? null : fname.trim();
    }

    public String getFpath() {
        return fpath;
    }

    public void setFpath(String fpath) {
        this.fpath = fpath == null ? null : fpath.trim();
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime == null ? null : addtime.trim();
    }

    public String getServerid() {
        return serverid;
    }

    public void setServerid(String serverid) {
        this.serverid = serverid == null ? null : serverid.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStepType() {
        return stepType;
    }

    public void setStepType(String stepType) {
        this.stepType = stepType == null ? null : stepType.trim();
    }

    public Integer getStepId() {
        return stepId;
    }

    public void setStepId(Integer stepId) {
        this.stepId = stepId;
    }

    public String getPathcode() {
        return pathcode;
    }

    public void setPathcode(String pathcode) {
        this.pathcode = pathcode == null ? null : pathcode.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }
}